package com.das.mechanic_base.bean.register;

/**
 * Created by chensi on 2018/4/11.
 */

public class RegisterAndLoginBean {
    /**
     * role : ROLE_MECHANIC
     * token : eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxMzIxOTE5MjM0NSIsInJvbGUiOiJST0xFX01FQ0hBTklDIiwiZXhwIjoxNTI5NDc0OTU3LCJjcmVhdGVkIjoxNTIzNDI2OTU3NzgzfQ.49EEnxuUq5zQN35xyvjCosP9i4gZssZVzblrE-iqmZu7PNuTaFT-GkYGrxFEavCGU1eN9rKX-t0FwI3H698Ntw
     */

    private String role;
    private String token;
    private long carOwnerId;
    private long userId;
    private String timIdentifier;//IM技师id
    private String staffBaseName;
    private String staffPortrait;
    private ProfilesBean profiles;
    private boolean firstLogin;
    private String workModel;

    public boolean isFirstLogin() {
        return firstLogin;
    }

    public String getWorkModel() {
        return workModel;
    }

    public RegisterAndLoginBean setWorkModel(String workModel) {
        this.workModel = workModel;
        return this;
    }

    public boolean getFirstLogin() {
        return firstLogin;
    }

    public void setFirstLogin(boolean firstLogin) {
        this.firstLogin = firstLogin;
    }

    public ProfilesBean getProfiles() {
        return profiles;
    }

    public void setProfiles(ProfilesBean profiles) {
        this.profiles = profiles;
    }

    public String getStaffBaseName() {
        return staffBaseName;
    }

    public void setStaffBaseName(String staffBaseName) {
        this.staffBaseName = staffBaseName;
    }

    public String getStaffPortrait() {
        return staffPortrait;
    }

    public void setStaffPortrait(String staffPortrait) {
        this.staffPortrait = staffPortrait;
    }

    public String getTimIdentifier() {
        return timIdentifier;
    }

    public void setTimIdentifier(String timIdentifier) {
        this.timIdentifier = timIdentifier;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public long getCarOwnerId() {
        return carOwnerId;
    }

    public void setCarOwnerId(long carOwnerId) {
        this.carOwnerId = carOwnerId;
    }

    public static class ProfilesBean {
        private String defaultMileageUnit;
        private String defaultCurrencySymbol;
        private String defaultCurrencySymbolSymbol;
        private String language;

        public String getDefaultMileageUnit() {
            return defaultMileageUnit;
        }

        public void setDefaultMileageUnit(String defaultMileageUnit) {
            this.defaultMileageUnit = defaultMileageUnit;
        }

        public String getDefaultCurrencySymbol() {
            return defaultCurrencySymbol;
        }

        public void setDefaultCurrencySymbol(String defaultCurrencySymbol) {
            this.defaultCurrencySymbol = defaultCurrencySymbol;
        }

        public String getDefaultCurrencySymbolSymbol() {
            return defaultCurrencySymbolSymbol;
        }

        public void setDefaultCurrencySymbolSymbol(String defaultCurrencySymbolSymbol) {
            this.defaultCurrencySymbolSymbol = defaultCurrencySymbolSymbol;
        }

        public String getLanguage() {
            return language;
        }

        public void setLanguage(String language) {
            this.language = language;
        }


    }
}
